#include "behavior_tree.hpp"
#include "fsm.hpp"
#include <thread>

int main() {
  DoorFSM fsm;
  BehaviorTree bt(fsm);

  while (true) {
    bt.run();  // 执行带有随机性的行为树
    std::this_thread::sleep_for(std::chrono::seconds(1));
  }

  return 0;
}
